package com.peanut.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Document("peanut_foot")
public class PeanutFoot {

    @Field("_id")
    private Long id;

    @Field("user_id")
    private Long userId;

    @Field("car_id")
    private Long carId;
}
